package com.group525.cloudef.common;

/**
 * 结果数据枚举s
 */
public enum ResultEnum implements IErrorCode{
    SUCCESS(200, "操作成功"),
    ERROR(400, "服务端异常"),;

    private final long code;
    private final String msg;
    ResultEnum(int code,String msg){
        this.code=code;
        this.msg=msg;
    }
    public long getCode(){
        return code;
    }
    public String getMsg(){
        return msg;
    }

}
